package com.ruoyi.jinchuguanli.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * ruku对象 gouhuoruku
 *
 * @author ruoyi
 * @date 2023-11-08
 */
public class Gouhuoruku extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
    private Integer id;

    /**
     * 生成日期
     */
    @Excel(name = "生成日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date xiadanriqi;

    /**
     * 入库日期
     */
    @Excel(name = "入库日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rukuriqi;

    /**
     * 下单操作人
     */
    @Excel(name = "下单操作人")
    private String xiadanren;

    /**
     * 入库操作人
     */
    @Excel(name = "入库操作人")
    private String rukuren;

    /**
     * 商品编号
     */
    private String shangpinbianhao;

    /**
     * 商品数量
     */
    @Excel(name = "商品数量")
    private Long shangpinshuliang;

    /**
     * 总金额
     */
    @Excel(name = "总金额")
    private Long zongjine;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String beizhu;

    private Integer shifouzhixing;

    public Integer getShifouzhixing () {
        return shifouzhixing;
    }

    public void setShifouzhixing (Integer shifouzhixing) {
        this.shifouzhixing = shifouzhixing;
    }

    public void setId (Integer id) {
        this.id = id;
    }

    public Integer getId () {
        return id;
    }

    public void setXiadanriqi (Date xiadanriqi) {
        this.xiadanriqi = xiadanriqi;
    }

    public Date getXiadanriqi () {
        return xiadanriqi;
    }

    public void setRukuriqi (Date rukuriqi) {
        this.rukuriqi = rukuriqi;
    }

    public Date getRukuriqi () {
        return rukuriqi;
    }

    public void setXiadanren (String xiadanren) {
        this.xiadanren = xiadanren;
    }

    public String getXiadanren () {
        return xiadanren;
    }

    public void setRukuren (String rukuren) {
        this.rukuren = rukuren;
    }

    public String getRukuren () {
        return rukuren;
    }

    public void setShangpinbianhao (String shangpinbianhao) {
        this.shangpinbianhao = shangpinbianhao;
    }

    public String getShangpinbianhao () {
        return shangpinbianhao;
    }

    public void setShangpinshuliang (Long shangpinshuliang) {
        this.shangpinshuliang = shangpinshuliang;
    }

    public Long getShangpinshuliang () {
        return shangpinshuliang;
    }

    public void setZongjine (Long zongjine) {
        this.zongjine = zongjine;
    }

    public Long getZongjine () {
        return zongjine;
    }

    public void setBeizhu (String beizhu) {
        this.beizhu = beizhu;
    }

    public String getBeizhu () {
        return beizhu;
    }

    @Override
    public String toString () {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("xiadanriqi", getXiadanriqi())
                .append("rukuriqi", getRukuriqi())
                .append("xiadanren", getXiadanren())
                .append("rukuren", getRukuren())
                .append("shangpinbianhao", getShangpinbianhao())
                .append("shangpinshuliang", getShangpinshuliang())
                .append("zongjine", getZongjine())
                .append("beizhu", getBeizhu())
                .toString();
    }
}
